<%--
 *  File:    UploadEmployeeCollate.jsp
 *  @Author: Jamesli	
 *  Date:    2011/11/18
 *
 *  Copyright (C) 2000 - 2012 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>
<%@ include file="uploadcommon.inc" %>
    <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td class="td_center"><span class="title-big-b-center">
          <%= label.getLabelName("L_AareToEmpUpload")%>
          </span></td>
        </tr>
      </table>
      <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" cellpadding="0" width="100%">
        <tr class="deepblue-left">
            <td class="title_center" width="1%"><%= label.getLabelName("L_Sortno")%></td>
			<td class="title_center"><%= label.getLabelName("L_OrdNumber")%></td>
            <td class="title_center"><%= label.getLabelName("L_DealerCode")%></td>
            <td class="title_center"><%= label.getLabelName("L_DealerName")%></td>           
            <td class="title_center"><%= label.getLabelName("L_NoLockCode")%></td>         
            <td class="title_center"><%= label.getLabelName("L_NoLockName")%></td>   
            <td class="title_center"><%= label.getLabelName("L_ProdCode")%></td>
            <td class="title_center"><%= label.getLabelName("L_ProdName")%></td>
			<td class="title_center"><%= label.getLabelName("L_SalesQty")%></td>
			
			<td class="title_center"><%= label.getLabelName("L_Department")%></td>
			<td class="title_center"><%= label.getLabelName("L_Provicetdr")%></td>
			<td class="title_center"><%= label.getLabelName("L_RegionOffice")%></td>
						           
            <td class="title_center"><%= label.getLabelName("L_UserNumber")%></td>
            <td class="title_center"><%= label.getLabelName("L_EmployeeName")%></td>
            <td class="title_center"><%= label.getLabelName("L_Comment")%></td>
        </tr>
        <%
        	int idx = 0;
        %>
        <logic:iterate id="onerow" collection="<%= employeecollateview %>" >
        <%
          if(idx%2 == 1)
          {
            	strClassType = "td-listrom";
          }else{
            	strClassType = "";
          }
          idx++;
        %>
       	<tr onMouseOver="this.className='tr-over'" onMouseOut="this.className='<%=JspHelper.filterNull( strClassType )%>'"  class="<%=JspHelper.filterNull( strClassType )%>">
            <td><%=idx %></td>
			<td>&nbsp;<custom:write property="ofsposdataid" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="dealercode" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="dealername" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="customercode" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="customername" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="prodcode" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="prodname" name="onerow" nbsp="true"/></td>
			<td>&nbsp;<custom:write property="salesqty" name="onerow" nbsp="true"/></td>
			
			<td>&nbsp;<custom:write property="userarea3name" name="onerow" nbsp="true"/></td>
			<td>&nbsp;<custom:write property="userarea2name" name="onerow" nbsp="true"/></td>
			<td>&nbsp;<custom:write property="userarea1name" name="onerow" nbsp="true"/></td>
			
			
			
            <td>&nbsp;<custom:write property="employeecode" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="employeename" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="commits" name="onerow" nbsp="true"/></td>
       	</tr>
      </logic:iterate>
</table>
